package com.ll.domain.tenant.convert;

import com.ll.dal.po.TenantPO;
import com.ll.domain.tenant.dto.TenantDTO;
import org.springframework.beans.BeanUtils;

public class TenantConvert {
    public static TenantDTO PO2DTO(TenantPO po) {
        TenantDTO dto = new TenantDTO();
        BeanUtils.copyProperties(po, dto);
        return dto;
    }
}
